/*
 * This file is part of TradeHelper library.
 *
 * TradeHelper library is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TradeHelper library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TradeHelper library.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.rag.core;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import java.io.Serializable;

/**
 * User: mgarin Date: 13.06.12 Time: 14:07
 */

@XStreamAlias( "Updates" )
public class Updates implements Serializable
{
    @XStreamAsAttribute
    private long data;

    @XStreamAsAttribute
    private long synonyms;

    public Updates ()
    {
        super ();
    }

    public Updates ( long data, long synonyms )
    {
        super ();
        setData ( data );
        setSynonyms ( synonyms );
    }

    public long getData ()
    {
        return data;
    }

    public void setData ( long data )
    {
        this.data = data;
    }

    public long getSynonyms ()
    {
        return synonyms;
    }

    public void setSynonyms ( long synonyms )
    {
        this.synonyms = synonyms;
    }
}